﻿#pragma once
#ifndef SMTSHAREDEF_H
#define SMTSHAREDEF_H
#define DEFAULT_VALUE_DEGE_DIRECTION	0
#define DEFAULT_VALUE_EDGE_POLARITY		0
#define DEFAULT_VALUE_EDGE_TYPE			0
#define DEFAULT_VALUE_MIN_EDGESTRENGTH	30
#define DEFAULT_VALUE_SEARCHLINE_COUNT	60
#define DEFAULT_VALUE_REJECT_RATIO		3
#define DEFAULT_VALUE_REJECT_DISTANCE	1
#define DEFAULT_VALUE_EDGE_WIDTH		20
#define DEFAULT_VALUE_PROJECTION_WIDTH	5
#define DEFAULT_VALUE_DISPLAYLINE_FLAG	false

#define DEFAULT_SIZE_PARAMINPUT_LENGTH 9

#define DEFAULT_LINESIZE_VALUE 1
#define DEFAULT_SERIALNUMSIZE_VALUE 18
#define DEFAULT_CROSSSIZE_VALUE 5
#define DEFAULT_ALPHA_VALUE 255

#define DEFAULT_COLOR  0, 255, 0, 255
#define DEFAULT_NGCOLOR_ALP 255, 0, 0, 255
#define DEFAULT_BLUECOLOR 0, 0, 255, 255

// green
#define COLOR_GREEN 0, 255, 0
// red
#define COLOR_RED 255, 0, 0
// red
#define COLOR_BLUE 0, 0, 255
// opaque green
#define COLOR_GREEN_OPAQUE 0, 255, 0, 0
// opaque red
#define COLOR_RED_OPAQUE 255, 0, 0, 0
// opaque red
#define COLOR_BLUE_OPAQUE 0, 0, 255, 0

//#define TESTALGORITHM
#endif // SMTSHAREDEF_H
